﻿using System;
using System.Collections.Generic;
using System.Text;

namespace InformaticaDiary.Common
{
    public class ExecutedResult
    {
        public int ErrorNo { get; set; }
        public string ErrorDesc { get; set; }
    }

    public class LoginRequest
    {
        public string UserName { get; set; }
        public string Password { get; set; }
    }

    public class CaseDetails
    {        
        public long CaseDetailsID { get; set; }
        public int UserID { get; set; }
        public string UserName { get; set; }
        public int CourtID { get; set; }
        public string CourtName { get; set; }
        public string CourtType { get; set; }
        public int CaseTypeId { get; set; }
        public string CaseTypeName { get; set; }
        public int CaseYear { get; set; }
        public int PoliceStationID { get; set; }
        public int StageID { get; set; }
        public string PoliceStation { get; set; }
        public string Stage { get; set; }
        public string Fileno { get; set; }
        public string CaseNo { get; set; }
        public DateTime BackDate { get; set; }
        public DateTime InstitutionDate { get; set; }
        public DateTime NextDate { get; set; }
        public string Petitioner { get; set; }
        public string Respondant { get; set; }
        public string PetitionerMob { get; set; }
        public string RespondantMob { get; set; }
        public string PetitionerDetails { get; set; }
        public string RespondantDetails { get; set; }
        public string PetitionerAdvocate { get; set; }
        public string RespondantAdvocate { get; set; }
        public string FirNo { get; set; }
        public string FirYear { get; set; }
        public string OrderJudgement { get; set; }
    }

    public class SearchValue
    {
        public string SearchType = "";
        public int UserID { get; set; }
        public long CaseTypeID { get; set; }
        public int CaseYear { get; set; }
        public string TextField { get; set; }
    }

    public class SearchResult
    {
        public long CaseDetailsID { get; set; }
        public string sCaseType { get; set; }
        public string sCaseNoYear { get; set; }
        public string sPetitioner { get; set; }
        public string sRespondant { get; set; }

    }

    public class CaseType
    {
        public long CaseTypeID { get; set; }
        public string CaseTypeName { get; set; }       

    }
    public interface ISearchResult
    {
        string SearchType { get; set; }
        string isRecordExist { get; set; }
        IEnumerable<SearchResult> objSearchResult { get; set; }
    }
}
